<html>
<head><meta charset="utf-8"><title>withSysroot is false ? · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/withSysroot.20is.20false.20.3F.html">withSysroot is false ?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="188318241"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/withSysroot%20is%20false%20%3F/near/188318241" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Edwin Cheng <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/withSysroot.20is.20false.20.3F.html#188318241">(Feb 16 2020 at 08:40)</a>:</h4>
<p>I just updated RA in my macbook and find that suddenly all sysroot crates do not loaded at the startup. I have to set the <code>withSysroot=true</code> in the <code>settings.json</code> to make it works. Do anyone have this problem too ?</p>



<a name="188318881"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/withSysroot%20is%20false%20%3F/near/188318881" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> std::Veetaha <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/withSysroot.20is.20false.20.3F.html#188318881">(Feb 16 2020 at 09:06)</a>:</h4>
<p><span class="user-mention" data-user-id="216201">@Edwin Cheng</span> , I see the bug, gonna fix</p>



<a name="188318885"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/withSysroot%20is%20false%20%3F/near/188318885" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Edwin Cheng <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/withSysroot.20is.20false.20.3F.html#188318885">(Feb 16 2020 at 09:07)</a>:</h4>
<p>Cool, and thanks <span aria-label="pray" class="emoji emoji-1f64f" role="img" title="pray">:pray:</span>🏻</p>



<a name="188319035"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/withSysroot%20is%20false%20%3F/near/188319035" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> std::Veetaha <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/withSysroot.20is.20false.20.3F.html#188319035">(Feb 16 2020 at 09:13)</a>:</h4>
<p>Yeah this was very unintuitive, when refactoring our config (removing 1 source of truth) I just put <code>false</code> a default value for <code>withSysroot</code>, though actualy the default was <code>null</code>.<br>
This is what we had<br>
<a href="/user_uploads/4715/o6OOGCwmFwEHgHNXi5QQFqzA/pasted_image.png" target="_blank" title="pasted_image.png">pasted image</a></p>
<div class="message_inline_image"><a href="/user_uploads/4715/o6OOGCwmFwEHgHNXi5QQFqzA/pasted_image.png" target="_blank" title="pasted image"><img src="/user_uploads/4715/o6OOGCwmFwEHgHNXi5QQFqzA/pasted_image.png"></a></div>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>